//
// Created by sgyt on 2020/1/18.
// time函数
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(int argc,char *argv[])
{
    time_t tt,tt1;
    tt = time(&tt1);//返回值或者入参都是结果集
    printf("time is [%d]",tt1);
    printf("time is [%d]",tt);
    return 0;
}